print('\n++++++++++++++++++++++++++++++++开始程序++++++++++++++++++++++++++++++++++\n')
const = 5  # 行、列数
juzen = [['01', '02', '03', '04', '05'],
         ['06', '07', '08', '09', '10'],
         ['11', '12', '13', '14', '15'],
         ['16', '17', '18', '19', '20'],
         ['21', '22', '23', '24', '25']]
new_juzen = [[0, 0, 0, 0, 0],
             [0, 0, 0, 0, 0],
             [0, 0, 0, 0, 0],
             [0, 0, 0, 0, 0],
             [0, 0, 0, 0, 0]]
for i in range(0, const):
    print(f'{juzen[i]}')

for i in range(0, const):
    for j in range(0, const):
        new_juzen[j][(const-1)-i] = juzen[i][j]  # 顺时针旋转90度
        # new_juzen[(const-1)-j][i] = juzen[i][j] #逆时针旋转90度
        # new_juzen[(const-1)-i][(const-1)-j] = juzen[i][j] #旋转180度

print('+++++++++++++++++++新矩阵++++++++++++++++++++++++++++')
for i in range(0, const):
    print(f'{new_juzen[i]}')
